func net.newDNSError
30 uses
net (current package)
cgo_unix.go#L50: return zero, newDNSError(mapErr(err), lookupName, "")
cgo_unix.go#L76: return zero, newDNSError(mapErr(ctx.Err()), lookupName, "")
cgo_unix.go#L133: return 0, newDNSError(err, network+"/"+service, "")
cgo_unix.go#L135: return 0, newDNSError(errUnknownPort, network+"/"+service, "")
cgo_unix.go#L137: return 0, newDNSError(addrinfoErrno(gerrno), network+"/"+service, "")
cgo_unix.go#L154: return 0, newDNSError(errUnknownPort, network+"/"+service, "")
cgo_unix.go#L188: return nil, newDNSError(err, name, "")
cgo_unix.go#L190: return nil, newDNSError(errNoSuchHost, name, "")
cgo_unix.go#L198: return nil, newDNSError(errNoSuchHost, name, "")
cgo_unix.go#L202: return nil, newDNSError(addrinfoErrno(gerrno), name, "")
cgo_unix.go#L277: return nil, newDNSError(err, addr, "")
cgo_unix.go#L279: return nil, newDNSError(errNoSuchHost, addr, "")
cgo_unix.go#L281: return nil, newDNSError(addrinfoErrno(gerrno), addr, "")
dnsclient_unix.go#L318: dnsErr := newDNSError(err, name, server)
dnsclient_unix.go#L332: return p, server, newDNSError(errNoSuchHost, name, server)
dnsclient_unix.go#L334: lastErr = newDNSError(err, name, server)
dnsclient_unix.go#L342: return p, server, newDNSError(errNoSuchHost, name, server)
dnsclient_unix.go#L344: lastErr = newDNSError(err, name, server)
dnsclient_unix.go#L448: return dnsmessage.Parser{}, "", newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L574: return nil, newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L624: return nil, dnsmessage.Name{}, newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L630: return nil, dnsmessage.Name{}, newDNSError(errNoSuchHost, name, "")
dnsclient_unix.go#L835: return nil, newDNSError(errNoSuchHost, addr, "")
lookup.go#L109: return 0, newDNSError(errUnknownPort, errNetwork+"/"+service, "")
lookup.go#L196: return nil, newDNSError(errNoSuchHost, host, "")
lookup.go#L240: return nil, newDNSError(errNoSuchHost, host, "")
lookup.go#L308: return nil, newDNSError(errNoSuchHost, host, "")
lookup.go#L358: err := newDNSError(mapErr(ctx.Err()), host, "")
lookup.go#L369: err = newDNSError(mapErr(err), host, "")
net.go#L684: func newDNSError(err error, name, server string) *DNSError {